'''
current_number = 1
while current_number <= 5:
    print(current_number)
    current_number += 1
'''

'''
prompt = "\nTell me something, and I will repect it back to you:"
prompt += "\nEnter 'quit' to end the program."
active  = True
while active:
    message = input(prompt)

    if message == 'quit':
        break
    else:
        print(message)
'''
'''
current_number = 0
while current_number < 10:
    current_number += 1
    if current_number%2 == 0:
        continue
    print(current_number)
'''
#练习
#7-4
'''
print("输入quit结束!")
while True:
    mix = input("请输入配料:")
    if mix != 'quit':
        print(f"已添加:{mix}")
    else:
        print("已结束添加！")
        break
'''
#7-5
while True:
    age = input("请输入年龄：")
    age = int(age)
    if age < 3:
        print("票价免费")
    elif age <12:
        print("10元")
    else:
        print("15元")
    break

